package com.craney.testDictionary
{
	import flash.utils.Dictionary;
	
	public class TestDictionary
	{
		public function TestDictionary()
		{
			var dc:Dictionary = new Dictionary();
			var key:Array = [1, 4];
			var value:Array = ["Soney", "TCL", "tudou"];
			var s:String = "22";
			
			dc[key] = value;
			dc[s] = "ss";
			dc[22] = 333;
//			dc.toString = function(){trace("News!")};
			
			trace(dc);
			
			for(var i:* in dc)
			{
				trace(typeof i);
				trace("dc[" + i + "] = " + dc[i]);
			}
			
			for each(var e:* in dc)
			{
				trace("e = " + e);
			}
			
		}

	}
}